<?php

namespace App;

use DB;

class Column
{
    public static function fetchColumnIdArr($parentId)
    {
        return DB::connection('sqlsrv')->table('lanmu')
            ->where('lanmu_father', '=', $parentId)
            ->where('lanmu_language', '=', 'zh-cn')
            ->where('lanmu_active', '=', 1)
            ->lists('lanmu_id');
    }
}